package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckGroup;

import java.util.List;
import java.util.Map;

/**
 * @Description:
 * @Version: V1.0
 */
public interface CheckGroupDao {
    public void add(CheckGroup checkGroup);

    public void setCheckGroupAndCheckItem(Map map);

    public Page<CheckGroup> selectByCondition(String queryString);

    public List<CheckGroup> findAll();

    public long findCountByCheckGroupId(Integer id);

    public void deleteByCheckGroupId(Integer id);

    public void deleteById(Integer id);

    public CheckGroup findById(Integer id);

    public List<Integer> findCheckitemIdsByCheckgroupId(Integer id);

    void edit(CheckGroup checkGroup);

    void deleteAssoication(Integer id);
}
